package com.kgc.easyshopping.dao;

import com.kgc.easyshopping.entity.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AddressMapper {
    int deleteByPrimaryKey(String aid);

    int insert(Address record);

    int insertSelective(Address record);

    int updateByPrimaryKeySelective(Address record);

    List<Address> selectAll(Map<String, Object> params);

    Address selectByPrimaryKey(String aid);
}